package com.kgc.scd.service;

import com.kgc.scd.annotation.RequestPermission;
import com.kgc.scd.util.RequestResult;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * Created On : 2022/6/20.
 * <p>
 * Author     : 98730
 * <p>
 * Description: SubmitOrderService
 */
@FeignClient(value = "blmall-server-jzp-8102")
public interface SubmitOrderService {

    /**
     * @author : 98730
     * @date   : 2022/6/14
     * @param  : [java.util.List<java.lang.Integer>]
     * @return : java.util.List<com.kgc.scd.bean.OrderItemResult>
     * @description : 添加订单/订单项，返回订单集合
     */
    @PostMapping("/orderItemResultList")
    RequestResult<Map<String,String>> orderItemResultList(@RequestParam("cartIds") List<Integer> cartIds);
}
